/*===================================== 
YOU CAN WRIGHT CUSTOME CSS 
======================================*/

/* =========================================
   RWC Company Heading
   Center
   Teko
========================================= */

.rwc-company-head {
  --rwc-ch-mt: 42px;
  --rwc-ch-mb: 46px;

--rwc-ch-en-size: clamp(22px, 2.3vw, 30px);
--rwc-ch-ja-size: clamp(34px, 4.8vw, 50px);

  --rwc-ch-en-color: #1f5db6;
  --rwc-ch-ja-color: #0b2347;
  --rwc-ch-line-color: #1f5db6;

  --rwc-ch-line-width: 42px;
  --rwc-ch-line-height: 3px;

  margin-top: var(--rwc-ch-mt);
  margin-bottom: var(--rwc-ch-mb);
  text-align: center;
}

.rwc-company-head__inner {
  width: min(100%, 760px);
  margin: 0 auto;
}

.rwc-company-head__en {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  margin: 0 0 16px;
  line-height: 1;
}

.rwc-company-head__line {
  display: block;
  width: var(--rwc-ch-line-width);
  height: var(--rwc-ch-line-height);
  background: var(--rwc-ch-line-color);
  border-radius: 999px;
  flex: 0 0 auto;
  margin-bottom: 0.2em;
}

.rwc-company-head__en-text {
  display: inline-block;
  color: var(--rwc-ch-en-color);
  font-family: 'Teko','Zen Kaku Gothic New','Noto Sans JP', sans-serif;
  font-size: var(--rwc-ch-en-size);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 0.9;
}

.rwc-company-head__ja {
  margin: 0;
  color: var(--rwc-ch-ja-color);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "HGS明朝E", serif;
  font-size: var(--rwc-ch-ja-size);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.04em;
}

/* =========================================
   SP
========================================= */
@media (max-width: 767px) {
  .rwc-company-head {
    --rwc-ch-mt: 28px;
    --rwc-ch-mb: 32px;
    --rwc-ch-en-size: clamp(20px, 6vw, 28px);
    --rwc-ch-ja-size: clamp(30px, 10vw, 42px);
    --rwc-ch-line-width: 30px;
    --rwc-ch-line-height: 2px;
  }

  .rwc-company-head__en {
    gap: 10px;
    margin-bottom: 12px;
  }

  .rwc-company-head__line {
    margin-bottom: 0.18em;
  }

  .rwc-company-head__ja {
    letter-spacing: 0.02em;
  }
}

.rwc-scrollcue {
  --rwc-sc-text-color: rgba(255, 255, 255, 0.9);
  --rwc-sc-line-color: rgba(255, 255, 255, 0.82);
  --rwc-sc-hover-color: rgba(255, 255, 255, 1);
  --rwc-sc-bottom: 28px;
  --rwc-sc-side: 28px;
  --rwc-sc-center-shift: 0;
  --rwc-sc-z: 30;

  position: fixed;
  bottom: var(--rwc-sc-bottom);
  z-index: var(--rwc-sc-z);

  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  color: var(--rwc-sc-text-color);
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    color 0.3s ease,
    visibility 0.45s ease;
  pointer-events: auto;

  -webkit-tap-highlight-color: transparent;
}

.rwc-scrollcue--right {
  right: var(--rwc-sc-side);
  left: auto;
  transform-origin: center;
}

.rwc-scrollcue--left {
  left: var(--rwc-sc-side);
  right: auto;
  transform-origin: center;
}

.rwc-scrollcue--center {
  left: 50%;
  right: auto;
  transform: translateX(calc(-50% + var(--rwc-sc-center-shift)));
  transform-origin: center;
}

.rwc-scrollcue.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.rwc-scrollcue--right.is-hidden,
.rwc-scrollcue--left.is-hidden {
  transform: translateY(10px);
}

.rwc-scrollcue--center.is-hidden {
  transform: translateX(calc(-50% + var(--rwc-sc-center-shift))) translateY(10px);
}

.rwc-scrollcue:hover {
  color: var(--rwc-sc-hover-color);
}

/* =========================================
   Design
========================================= */
.rwc-scrollcue--standard {
  gap: 8px;
  min-width: 34px;
}

.rwc-scrollcue--standard .rwc-scrollcue__label {
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rwc-scrollcue--standard .rwc-scrollcue__mouse {
  position: relative;
  width: 20px;
  height: 34px;
  border: 1.5px solid var(--rwc-sc-line-color);
  border-radius: 999px;
  box-sizing: border-box;
}

.rwc-scrollcue--standard .rwc-scrollcue__mouse::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 2px;
  height: 7px;
  background: var(--rwc-sc-line-color);
  border-radius: 999px;
  transform: translateX(-50%);
  animation: rwcScrollCueWheel 1.7s ease-in-out infinite;
}

.rwc-scrollcue--standard .rwc-scrollcue__arrow {
  position: relative;
  width: 12px;
  height: 12px;
}

.rwc-scrollcue--standard .rwc-scrollcue__arrow::before,
.rwc-scrollcue--standard .rwc-scrollcue__arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 1.5px;
  height: 10px;
  background: var(--rwc-sc-line-color);
  border-radius: 999px;
}

.rwc-scrollcue--standard .rwc-scrollcue__arrow::before {
  left: 3px;
  transform: rotate(-45deg);
  transform-origin: bottom center;
}

.rwc-scrollcue--standard .rwc-scrollcue__arrow::after {
  right: 3px;
  transform: rotate(45deg);
  transform-origin: bottom center;
}

.rwc-scrollcue--refined {
  gap: 7px;
  min-width: 26px;
}

.rwc-scrollcue--refined .rwc-scrollcue__label {
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 300;
}

.rwc-scrollcue--refined .rwc-scrollcue__line {
  position: relative;
  width: 1px;
  height: 42px;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0%,
    var(--rwc-sc-line-color) 22%,
    var(--rwc-sc-line-color) 100%
  );
  overflow: hidden;
}

.rwc-scrollcue--refined .rwc-scrollcue__line::after {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
  background: #fff;
  opacity: 0.95;
  animation: rwcScrollCueLine 1.8s ease-in-out infinite;
}

.rwc-scrollcue--refined .rwc-scrollcue__arrow {
  position: relative;
  width: 10px;
  height: 10px;
}

.rwc-scrollcue--refined .rwc-scrollcue__arrow::before,
.rwc-scrollcue--refined .rwc-scrollcue__arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 9px;
  background: var(--rwc-sc-line-color);
  border-radius: 999px;
}

.rwc-scrollcue--refined .rwc-scrollcue__arrow::before {
  left: 2px;
  transform: rotate(-45deg);
  transform-origin: bottom center;
}

.rwc-scrollcue--refined .rwc-scrollcue__arrow::after {
  right: 2px;
  transform: rotate(45deg);
  transform-origin: bottom center;
}

@keyframes rwcScrollCueWheel {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }
  25% {
    opacity: 1;
  }
  70% {
    opacity: 1;
    transform: translateX(-50%) translateY(9px);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(11px);
  }
}

@keyframes rwcScrollCueLine {
  0% {
    top: -12px;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  75% {
    top: 32px;
    opacity: 1;
  }
  100% {
    top: 42px;
    opacity: 0;
  }
}

@media (max-width: 767px) {
  .rwc-scrollcue {
    --rwc-sc-bottom: 18px;
    --rwc-sc-side: 16px;
  }

  .rwc-scrollcue--standard .rwc-scrollcue__label,
  .rwc-scrollcue--refined .rwc-scrollcue__label {
    font-size: 8px;
  }
}

.exa-hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: auto;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  color: #fff;
  cursor: pointer;
  text-align: center;
  appearance: none;
  -webkit-appearance: none;
}

.exa-hero-scroll__text {
  display: block;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.32em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
  margin-bottom: 8px;
}

.exa-hero-scroll__line {
  position: relative;
  display: block;
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.exa-hero-scroll__line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
}

.exa-hero-scroll__line::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -28px;
  width: 3px;
  height: 28px;
  transform: translateX(-50%);
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(255,255,255,0.4);
  animation: exaHeroScrollMove 1.8s ease-in-out infinite;
}

.exa-hero-scroll:hover .exa-hero-scroll__text {
  opacity: 0.85;
}

@keyframes exaHeroScrollMove {
  0% {
    top: -28px;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    top: calc(100% + 8px);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .exa-hero-scroll__text {
    font-size: 12px;
    letter-spacing: 0.26em;
  }

  .exa-hero-scroll__line {
    height: 92px;
  }
}


/* =========================================
   Equipment Page Styles
========================================= */
:root {
      --primary: #0a2d55;
      /*--primary-dark: #05182e;*/
      --primary-dark: #0d2b50;
      --accent: #1976d2;
      --text-main: #111;
      --text-sub: #555;
      --bg-light: #f8f9fa;
      --content-max: 1300px;
      --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    }

    body {
      margin: 0;
      padding: 0;
      background: #fff;
      font-family: 'Noto Sans JP', 'Inter', sans-serif;
      color: var(--text-main);
      -webkit-font-smoothing: antialiased;
      line-height: 1.8;
      overflow-x: hidden;
    }

    .hero-section {
      position: relative;
      width: 100%;
      height: 100vh;
      min-height: 700px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      background: #000;
    }

    .hero-video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 1;
      opacity: 0.8;
    }

    .hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(10, 45, 85, 0.5);
      z-index: 2;
    }

    .hero-content {
      text-align: center;
      color: #fff;
      padding: 0 20px;
      z-index: 3;
      width: 100%;
      max-width: 1000px;
    }

    .hero-title-en {
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 0.4em;
      font-family: 'Inter';
      margin-bottom: 30px;
      color: #90caf9;
    }

    .hero-catch {
      font-size: clamp(3rem, 6vw, 4.5rem);
      font-weight: 900;
      line-height: 1.2;
      margin-bottom: 40px;
      letter-spacing: 0.05em;
      text-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    .hero-sub {
      font-size: clamp(1rem, 1.5vw, 1.2rem);
      font-weight: 500;
      opacity: 0.9;
      line-height: 2.2;
      letter-spacing: 0.05em;
    }

    /* --- Equipment Section --- */
    .equip-section {
      padding: 180px 0;
    }

    .equip-section.dark-theme {
      background: var(--primary-dark);
      color: #fff;
    }

    .container {
      /*max-width: var(--content-max);*/
      max-width: 1000px;
      margin: 0 auto;
      padding: 0 40px;
    }

    .eq-header {
      text-align: center;
      margin-bottom: 60px;
    }

    .eq-tags {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-bottom: 20px;
    }

    .eq-tag {
      font-size: 12px;
      font-weight: 700;
      padding: 6px 16px;
      border-radius: 30px;
      letter-spacing: 0.1em;
    }

    .light-theme .eq-tag {
      background: rgba(25, 118, 210, 0.1);
      color: var(--accent);
    }

    .dark-theme .eq-tag {
      background: rgba(255,255,255,0.1);
      color: #90caf9;
    }

    .eq-title {
      font-size: clamp(3rem, 6vw, 5rem);
      font-weight: 900;
      font-family: 'Inter';
      letter-spacing: -0.02em;
      margin: 0 0 10px 0;
      line-height: 1;
    }

    .dark-theme .eq-title { color: #fff; }
    .light-theme .eq-title { color: var(--primary); }

    .eq-subtitle {
      font-size: 1.2rem;
      font-weight: 700;
      letter-spacing: 0.2em;
      opacity: 0.7;
      margin: 0;
    }

    .eq-massive-media {
      width: 100%;
      border-radius: 0;
      overflow: hidden;
      box-shadow: 0 30px 80px rgba(0,0,0,0.15);
      margin-bottom: 80px;
      background: #000;
      position: relative;
    }

    .dark-theme .eq-massive-media {
      box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    }

    .eq-massive-media video,
    .eq-massive-media iframe {
      width: 100%;
      aspect-ratio: 16 / 9;
      display: block;
      object-fit: cover;
      border: none;
    }

    .eq-details {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      margin-bottom: 100px;
    }

    .eq-catch {
      font-size: clamp(2rem, 3vw, 2.4rem);
      font-weight: 900;
      line-height: 1.4;
      margin: 0 0 30px 0;
    }

    .light-theme .eq-catch {
      color: var(--primary);
    }

    .eq-desc {
      font-size: 1.1rem;
      line-height: 2;
      opacity: 0.8;
      margin: 0;
    }

    .eq-features {
      list-style: none;
      padding: 0;
      margin: 0;
      border-top: 2px solid rgba(0,0,0,0.1);
    }

    .dark-theme .eq-features {
      border-top: 2px solid rgba(255,255,255,0.1);
    }

    .eq-features li {
      padding: 16px 0;
      border-bottom: 1px solid rgba(0,0,0,0.1);
      font-size: 1.05rem;
      font-weight: 500;
      display: flex;
      align-items: flex-start;
      gap: 15px;
    }

    .dark-theme .eq-features li {
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .eq-features li::before {
      content: "\f00c";
      font-family: 'FontAwesome';
      color: var(--accent);
      font-size: 18px;
      margin-top: 2px;
    }

    .btn-pdf {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin-top: 40px;
      padding: 18px 40px;
      border: 2px solid #90caf9;
      border-radius: 50px;
      color: #90caf9;
      font-size: 1.1rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-decoration: none;
      transition: all 0.3s ease;
      background: rgba(144, 202, 249, 0.05);
    }

    .btn-pdf i {
      font-size: 1.3rem;
    }

    .btn-pdf:hover {
      background: #90caf9;
      color: var(--primary-dark);
      box-shadow: 0 10px 25px rgba(144, 202, 249, 0.4);
      transform: translateY(-3px);
    }

    .eq-gallery-asym {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 24px;
      height: 600px;
    }

    .eq-gallery-asym .gal-main {
      border-radius: 0;
      overflow: hidden;
    }

    .eq-gallery-asym .gal-side {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .eq-gallery-asym img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.8s ease;
    }

    .eq-gallery-asym .gal-main img:hover,
    .eq-gallery-asym .gal-side div:hover img {
      transform: scale(1.05);
    }

    .gal-side div {
      flex: 1;
      border-radius: 0;
      overflow: hidden;
    }

    /* レスポンシブ */
    @media (max-width: 1024px) {
      .eq-details {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
      }

      .eq-gallery-asym {
        height: auto;
        grid-template-columns: 1fr;
      }

      .eq-gallery-asym .gal-main img {
        aspect-ratio: 4/3;
      }

      .eq-gallery-asym .gal-side {
        flex-direction: row;
      }

      .eq-gallery-asym .gal-side div img {
        aspect-ratio: 4/3;
      }
    }

    @media (max-width: 768px) {
      .container {
        padding: 0 20px;
      }

      .equip-section {
        padding: 100px 0;
      }

      .eq-massive-media {
        margin-bottom: 40px;
      }

      .eq-gallery-asym .gal-side {
        flex-direction: column;
        gap: 16px;
      }

      .eq-gallery-asym {
        gap: 16px;
      }
    }

    html {
      scroll-behavior: smooth;
    }

    .scroltop {
      position: fixed;
      right: 24px;
      bottom: 24px;
      width: 54px;
      height: 54px;
      border: 0;
      border-radius: 999px;
      background: rgba(10, 45, 85, 0.92);
      color: #fff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
      cursor: pointer;
      z-index: 1200;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transform: translateY(12px);
      transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s, background 0.3s ease;
    }

    .scroltop.is-visible {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translateY(0);
      transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0s, background 0.3s ease;
    }

    .scroltop:hover {
      background: #1976d2;
    }

    .scroltop .fa {
      font-size: 22px;
      line-height: 1;
    }

.eq-gallery-asym--reverse {
  grid-template-columns: 1fr 2fr;
}

@media (max-width: 1024px) {
  .eq-gallery-asym.eq-gallery-asym--reverse {
    grid-template-columns: 1fr;
    height: auto;
  }
}

@media (max-width: 768px) {
  .eq-gallery-asym.eq-gallery-asym--reverse {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .eq-gallery-asym.eq-gallery-asym--reverse .gal-main {
    order: 1;
  }

  .eq-gallery-asym.eq-gallery-asym--reverse .gal-side {
    order: 2;
    flex-direction: column;
    gap: 16px;
  }
}

.br-pc {
  display: inline;
}

.br-sp {
  display: none;
}

@media (max-width: 768px) {
  .br-pc {
    display: none;
  }

  .br-sp {
    display: inline;
  }
}
